package org.example.erp.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.example.erp.domain.NewSalesOrder;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.example.erp.web.VO.SalesOrderVO;

/**
* @author 28254
* @description 针对表【new_sales_order(销售订单表)】的数据库操作Mapper
* @createDate 2024-12-02 14:11:06
* @Entity org.example.erp.domain.NewSalesOrder
*/
public interface NewSalesOrderMapper extends BaseMapper<NewSalesOrder> {
        IPage<SalesOrderVO> findSalesOrders(@Param(value = "page") IPage<SalesOrderVO> page,
                                            @Param(value = "salesOrderCode") String salesOrderCode,
                                            @Param(value = "salesOrderName") String salesOrderName);
        NewSalesOrder findSalesOrderById(@Param(value = "salesOrderId") Integer salesOrderId);
}




